home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / dbImporter.cpt / dbImporter / card_3791.txt < prev    next >
Text File  |  1989-02-26  |  4KB  |  168 lines

  1. -- card: 3791 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3920
  5. -- name: About…
  6. ----- HyperTalk script -----
  7. on openCard
  8.   hide message
  9. end openCard
  10.  
  11.  
  12.  
  13. -- part 1 (field)
  14. -- low flags: 01
  15. -- high flags: 0000
  16. -- rect: left=14 top=37 right=216 bottom=233
  17. -- title width / last selected line: 0
  18. -- icon id / first selected line: 0 / 0
  19. -- text alignment: 0
  20. -- font id: 3
  21. -- text size: 12
  22. -- style flags: 0
  23. -- line height: 16
  24. -- part name: 
  25.  
  26.  
  27. -- part 2 (button)
  28. -- low flags: 00
  29. -- high flags: 0000
  30. -- rect: left=426 top=306 right=334 bottom=463
  31. -- title width / last selected line: 0
  32. -- icon id / first selected line: 1012 / 1012
  33. -- text alignment: 1
  34. -- font id: 0
  35. -- text size: 12
  36. -- style flags: 0
  37. -- line height: 16
  38. -- part name: Return
  39. ----- HyperTalk script -----
  40. on mouseUp
  41.   visual effect iris close
  42.   go to first card
  43. end mouseUp
  44.  
  45.  
  46.  
  47. -- part 3 (field)
  48. -- low flags: 01
  49. -- high flags: 0000
  50. -- rect: left=242 top=37 right=231 bottom=503
  51. -- title width / last selected line: 0
  52. -- icon id / first selected line: 0 / 0
  53. -- text alignment: 0
  54. -- font id: 3
  55. -- text size: 12
  56. -- style flags: 0
  57. -- line height: 16
  58. -- part name: 
  59.  
  60.  
  61. -- part 6 (field)
  62. -- low flags: 01
  63. -- high flags: 2000
  64. -- rect: left=1 top=227 right=338 bottom=157
  65. -- title width / last selected line: 0
  66. -- icon id / first selected line: 0 / 0
  67. -- text alignment: 0
  68. -- font id: 3
  69. -- text size: 10
  70. -- style flags: 256
  71. -- line height: 13
  72. -- part name: 
  73.  
  74.  
  75. -- part 7 (field)
  76. -- low flags: 01
  77. -- high flags: 0000
  78. -- rect: left=20 top=21 right=38 bottom=224
  79. -- title width / last selected line: 0
  80. -- icon id / first selected line: 0 / 0
  81. -- text alignment: 1
  82. -- font id: 0
  83. -- text size: 12
  84. -- style flags: 0
  85. -- line height: 16
  86. -- part name: 
  87.  
  88.  
  89. -- part 8 (field)
  90. -- low flags: 01
  91. -- high flags: 0000
  92. -- rect: left=270 top=21 right=38 bottom=472
  93. -- title width / last selected line: 0
  94. -- icon id / first selected line: 0 / 0
  95. -- text alignment: 1
  96. -- font id: 0
  97. -- text size: 12
  98. -- style flags: 0
  99. -- line height: 16
  100. -- part name: 
  101.  
  102.  
  103. -- part 9 (field)
  104. -- low flags: 01
  105. -- high flags: 0002
  106. -- rect: left=145 top=234 right=299 bottom=506
  107. -- title width / last selected line: 0
  108. -- icon id / first selected line: 0 / 0
  109. -- text alignment: 0
  110. -- font id: 3
  111. -- text size: 9
  112. -- style flags: 0
  113. -- line height: 12
  114. -- part name: 
  115.  
  116.  
  117. -- part 10 (button)
  118. -- low flags: 00
  119. -- high flags: 8000
  120. -- rect: left=296 top=295 right=342 bottom=402
  121. -- title width / last selected line: 0
  122. -- icon id / first selected line: 19678 / 19678
  123. -- text alignment: 1
  124. -- font id: 0
  125. -- text size: 12
  126. -- style flags: 0
  127. -- line height: 16
  128. -- part name: More
  129. ----- HyperTalk script -----
  130. on mouseUp
  131.   go to card id 2219
  132. end mouseUp
  133.  
  134.  
  135.  
  136.  
  137. -- part contents for card part 1
  138. ----- text -----
  139. --this script imports a text file with fields separated by tabs and records separated by carriage returns.  When importing data, it deletes any leading and trailing quotes (").  The beginnig card has 13 fields prepared for data, which should cover most imported data files.  After the import, the user can alter the background and fields.
  140.  
  141. -- part contents for card part 3
  142. ----- text -----
  143. --this script  uses the the first record of a mail merge file (giving the names of the corresponding fields) to name each background field.  For straight text files, the user can edit the textfile to include field names, separated by tabs, such as in the example below (exported datafiles could be surrounded by quotes if a field contains commas).  After setting the field names, the script chooses the field tool to allow the user to resize the fields, etc.
  144.  
  145. -- part contents for card part 6
  146. ----- text -----
  147. dbImporter by:
  148. Ted Tripp
  149. 4588 CR 523
  150. Bayfield, CO 81122
  151. 303-884-9366
  152. CIS#  76146,1410
  153. please send me $2 for the use of this stack.
  154.  
  155. -- part contents for card part 7
  156. ----- text -----
  157. Import Data Base
  158.  
  159. -- part contents for card part 8
  160. ----- text -----
  161. Set Field Names
  162.  
  163. -- part contents for card part 9
  164. ----- text -----
  165. Company * Address * City_State_Zip * Telephone * Contact¬∂
  166. Heizer Software * "1941 Oak Park Blvd, Suite 30" * "Pleasant Hills, CA 945231" * 415-943-7667 * Ray¬∂
  167. Ted Tripp * 4588 CR 523 * "Bayfield, CO 81122" * 303-884-9366  *Ted¬∂
  168. (tabs are indicated by * , HyperCard will not show tabs)